package com.jiaai.util.geograph;

import java.io.Serializable;

public class LocationBean implements Serializable {
    public static final double MINLAT = -90;
    public static final double MAXLAT = 90;
    public static final double MINLNG = -180;
    public static final double MAXLNG = 180;

    private double lat;//纬度[-90,90]  
    private double lng;//经度[-180,180]
    private String ipAddr;//ip地址
    private String macId;
    private String geoHash;

    public LocationBean() {
    }

    public String getGeoHash() {
        return geoHash;
    }

    public void setGeoHash(String geoHash) {
        this.geoHash = geoHash;
    }

    public String getMacId() {
        return macId;
    }

    public void setMacId(String macId) {
        this.macId = macId;
    }

    public LocationBean(double lat, double lng) {
        this.lat = lat;  
        this.lng = lng;  
    }

    public String getIpAddr() {
        return ipAddr;
    }

    public void setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
    }

    public double getLat() {
        return lat;  
    }  
    public void setLat(double lat) {  
        this.lat = lat;  
    }  
    public double getLng() {  
        return lng;  
    }  
    public void setLng(double lng) {  
        this.lng = lng;  
    }


}  